package edu.nf.hotel.roominfo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @Date 2023-06-28
 * @Author 带土
 * 客房预订信息实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoomPredInfo {

    /**
     * 预定编号
     */
    @Column("rp_id")
    private Integer rpId;

    /**
     * 客房的外键
     */
    @Column("r_id")
    private Integer rid;

    /**
     * 预订天数
     */
    @Column("predetermine_date")
    private Integer predetermineDate;

    /**
     * 退房时间
     */
    @Column("checkout_time")
    private Date checkoutTime;

    /**
     * 预定时间
     */
    @Column("predatermine_time")
    private Timestamp predatermineTime;

    /**
     * 人数
     */
    @Column("numbers")
    private Integer numBers;

    /**
     * 姓名
     */
    @Column("u_name")
    private String uname;

    /**
     * 身份证
     */
    @Column("room_card")
    private String roomCard;

    /**
     * 联系电话
     */
    @Column("telephone")
    private String telephone;
}
